﻿<div class="bjui-pageHeader">
</div>
<div class="bjui-pageContent tableContent">

    <form id="addfinalyieldfrom" data-reload-navtab="true" data-toggle="validate"
          action="${request.getContextPath()}/boetv/addworpt?uid=${worpt?.id}" method="post"
          onsubmit="return check11();">
        <div class="bjui-searchBar">
            <table>
                <tr>
                    <td><label>工单号<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                    <input name="woId" value="${worpt.woId}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>机种名称<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="partName" value="${worpt.partName}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>机种料号<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="partDesc" value="${worpt.partDesc}"/>
                    </td>
                </tr>

                <tr>
                    <td><label>工单数<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="woQty" value="${worpt.woQty}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>上线数<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="inQty" value="${worpt.inQty}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>在制数<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="wipQty" value="${worpt.wipQty}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>完工数<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="outQty" value="${worpt.outQty}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>不良数<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="defectQty" value="${worpt.defectQty}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>一次ok数<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="oneOkQty" value="${worpt.oneOkQty}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>工单状态<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="woStatus" value="${worpt.woStatus}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>上线率<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="inYield" value="${worpt.inYield}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>在制率<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="wipYield" value="${worpt.wipYield}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>完工率<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="outYield" value="${worpt.outYield}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>不良率<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="defectYield" value="${worpt.defectYield}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>直通率<strong><span class="text-danger">*</span></strong>：</label></td>
                    <td>
                        <input name="oneOkYield" value="${worpt.oneOkYield}"/>
                    </td>
                </tr>





                <input type="hidden" name="id" value="${worpt?.id}"/>


                <tr>
                </tr>
                <tr>
                    <td><button type="submit" class="btn btn-green" >保存</button>&nbsp;</td>
                    <td><button type="button" class="btn btn-green" onclick='javascript:clear11()' >清空</button>&nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </form>





</div>
<script type="text/javascript">
  function clear11() {

      $("input").val("");
  }
    function check11(){

        if(document.getElementById("filesn").value==""){
            return false
        }else{
            return true
        }
    }
</script>
